// pages/other//sign/index.js
const Page = require('../../../utils/ald-stat.js').Page;
const app = getApp();
Page({

  /**
   * 页面的初始数据
   */
  data: {
    signrule:true,
    day: [
      {
        title: "1天",
        img:"../../../imgs/signbi"
      }, 
      {
        title: "2天",
        img: "../../../imgs/signbi"
      },
      {
        title: "3天",
        img: "../../../imgs/signredbag"
      },
      {
        title: "4天",
        img: "../../../imgs/signbi"
      },
      {
        title: "5天",
        img: "../../../imgs/signbi"
      },
      {
        title: "6天",
        img: "../../../imgs/signbi"
      },
      {
        title: "7天",
        img: "../../../imgs/signredbag"
      },
    ],
    lines:[75,175,275,375,475,575],
    goods:[
      { goods_id: 552, s_photo: "https://www.3dmtu3.cn/Public/Upload/2019-06-04/5cf6049d2eb8b.jpg", title: "美味铜锣烧", price: 20 },


      { goods_id: 518, s_photo: "https://www.3dmtu3.cn/Public/Upload/2019-05-10/5cd4dc9e638f5.jpg", title: "一元话费充值", price: 1 },

      { goods_id: 449, s_photo: "https://www.3dmtu3.cn/Public/Upload/2019-04-02/5ca32823549c1.jpg", title: "2元话费充值", price: 2 },


      { goods_id: 484, s_photo: "https://www.3dmtu3.cn/Public/Upload/2019-04-16/5cb54ceb67778.jpg", title: "物语本色三层竹纤维纸6包", price: 15 },


      { goods_id: 547, s_photo: "https://www.3dmtu3.cn/Public/Upload/2019-06-03/5cf4726cd7573.jpg", title: "酥脆肉松饼", price: 20 },


      { goods_id: 293, s_photo: "https://www.3dmtu3.cn/Public/Upload/2019-04-01/5ca1ab19e4c16.jpg", title: "五元话费充值", price: 5 },
    ],
    signredbag:true,
    sign:false,
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {

  },


  /**
   * 生命周期函数--监听页面显示
   */
  onShow: function () {

  },
  hideHandle:function(){
    const that=this;
    that.setData({
      signrule:true,
      signredbag:true,
      sign:true,
    })
  },
  signRule:function(){
    this.setData({
      signrule:false,
    })
  },

})